/**
 * @description 获取剪贴板内容
 * @returns  { Stirng } text
 */

function getClipboard() {
  return new Promise(resolve => {
    my.getClipboard({
      success: ({ text }) => {
        resolve(text);
      },
    });
  });
}
export default getClipboard;
